package com.hxh.learn.model;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 角色权限
 * </p>
 *
 * @author hxh
 * @since 2023-03-02
 */
@TableName("sys_rule_permissions")
@ApiModel(value = "SysRulePermissions对象", description = "角色权限")
public class SysRulePermissions implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    private Integer id;

    @ApiModelProperty("角色id")
    private String roleId;

    @ApiModelProperty("权限id")
    private String permissionsId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }
    public String getPermissionsId() {
        return permissionsId;
    }

    public void setPermissionsId(String permissionsId) {
        this.permissionsId = permissionsId;
    }

    @Override
    public String toString() {
        return "SysRulePermissions{" +
            "id=" + id +
            ", roleId=" + roleId +
            ", permissionsId=" + permissionsId +
        "}";
    }
}
